<?php

require '../../base.php';
require '../../msg/MessageStatic.class.php';

if (!defined('DP_BASE_DIR')){
	die(MessageStatic::$notAccessMessage);
}


require DP_BASE_DIR .'/bussines/RecruitmentMngr.class.php';
require DP_BASE_DIR .'/base/presentation/PresentationUtils.class.php';
require DP_BASE_DIR .'/configuration/ConfigFile.properties.php';

?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF8" />
<link type="text/css" rel="stylesheet" href="../css/estilo.css" />
<title>AIESEC COLOMBIA PROTOTIPE</title>
</head>

<script>
function continuehtml(){
	var lc=document.getElementById('cboLsLc').value;
	
	if(lc!=0){
		location = ("downloadAppByLCAction.php?lc="+lc);	
	}
}
function continuecsv(){
	var lc=document.getElementById('cboLsLc').value;
	
	if(lc!=0){
		location = ("downloadAppByLCAction1.php?lc="+lc);	
	}
}
</script>

<body>
	<table border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#666666">

		<tr>
		  <td class="tituloPagina">AIESEC IN COLOMBIA APPLICATION</td>
	  	</tr>
	  	<tr>
		  <td align="center" class="campoFormulario">Please select in the check box, <br/> 
		    the Local Committe that you want download the information</td>
	  	</tr>
		<tr>
		  <td align="center"><?php echo PresentationUtils::getCboOption('cboLsLc',RecruitmentMngr::getAllLC(),'componenteFormulario');?></td>
	  	</tr>
		
		<tr >
			<td align="center"> <br></br>
		  		<button type="button" onClick="javascript:continuehtml()">Information html</button>
		  	    <button type="button" onClick="javascript:continuecsv()">Information csv</button>
		  	</td>
		</tr>
		<tr>
		  <td></td>
	  </tr>	
</table>
</body>
</html>